package com.wzc.hc.entity.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Schema(description = "用户登录成功后的数据对象")
@AllArgsConstructor
@NoArgsConstructor
public class LoginRes {

    @Schema(description = "用户id")
    private String id;

    @Schema(description = "用户名")
    private String userNickName;

    @Schema(description = "token")
    private String token;

    @Schema(description = "用户创建时间")
    private Date gmtCreate;

    @Schema(description = "用户更新时间")
    private Date gmtModified;
}